package com.etone.smartAudit.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.lang.model.type.IntersectionType;
import java.io.Serializable;

@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class PortalPushDTO implements Serializable {
    public static final String TODO = "todo";
    public static final String DONE = "done";
    public static final String TOREAD = "toread";
    public static final String READ = "read";


    /***
     * 推送日志主键id
     */
    private Integer pushLogId;
    /**
     * todoId : 123
     * appName : 财务集中报账
     * owner : dwzhouzongbing
     * parentOwner : 刘滨锐：同意
     * todoTitle : 付罗国珍办市场部报销2017年2月用车经营费用
     * url : http://ip:port/p/s?id=123
     * createTime : 2017-03-06 13:06:33
     * modifyTime : 2017-03-06 13:06:33
     * type : A
     */
    private String todoId;
    private String owner;
    private String parentOwner;
    private String todoTitle;
    private String url;
    private String type;
    /**
     * 唯一流水号，只在log4j日志中记录，排查使用
     */
    private String seqno;

    /***
     *  business	是	string		业务名称，如:todo,done,toread,read
     */
    private String business;
}
